<template>
	<uni-popup ref="popup" background-color="rgba(0,0,0,0)" zIndex="99999" @change="popupChange">
		<view class="rule-wrap">
			<view class="title">
				<image src="https://img.quanminyanxuan.com/service/a510c8d35b6a4dd8b1936cea37ce6924.png" mode="widthFix"></image>
				<text>兑换规则</text>
			</view>
			<view class="detail">
				<view class="regulation-item">
					<view class="digit ">1.</view>
					<view class="detail-title ">新会员用户送200000积分，积分可用于兑换商品。</view>
				</view>
				<view class="regulation-item">
					<view class="digit">2.</view>
					<view class="detail-title">参与活动商品：限积分活动页面内所有商品。</view>
				</view>
				<view class="regulation-item">
					<view class="digit">3.</view>
					<view class="detail-title">
						在积分活动页面选取商品进行下单，可使用新人体验积分抵扣部分金额。
					</view>
				</view>
				<view class="regulation-item">
					<view class="digit">4.</view>
					<view class="detail-title">
						非质量问题不给予退换，积分已兑换商品退换需联系客服。
					</view>
				</view>
				<view class="regulation-item">
					<view class="digit">5.</view>
					<view class="detail-title">
						如发现用户以不正当手段参与本次活动商城有权取消兑换的权利，并已兑换的积分无法返还。
					</view>
				</view>
				<view class="regulation-item">
					<view class="digit">5.</view>
					<view class="detail-title">
						商城积分专属该平台会员，非移动、电信、银行等其他平台积分。
					</view>
				</view>
				<view class="regulation-item">
					<view class="digit">5.</view>
					<view class="detail-title">
						在法律允许范围内，商城对此活动拥有最终解释权，未尽事宜请咨询客服。
					</view>
				</view>
			</view>
		</view>
		
	</uni-popup>
</template>

<script>
	export default {
		name:"rule",
		data() {
			return {
				
			};
		},
		methods:{
			popupChange(e){
			},
			open(){
				this.$refs.popup.open('center')
			},
			close(){
				this.$refs.popup.close();
			},
		}
	}
</script>

<style lang="scss" scoped>
	.rule-wrap{
		width: 89vw;
		margin: 0 auto;
		background: #fff;
		border-radius: 10rpx;
		position: relative;
		z-index: 999;
		overflow: hidden;
		.title{
			position: relative;
			display: flex;
			align-items: center;
			justify-content: center;
			text{
				position: absolute;
				color: #fff;
				font-size: 35rpx;
				font-weight: bold;
			}
		}
		.detail{
			width: 86%;
			margin: 40rpx auto;
			.regulation-item{
				display: flex;
				color: #666;
				font-weight: 600;
				margin-bottom: 15rpx;
			}
		}
	}
</style>